package smoothing;

public class SmootherFactory {
	public static Smoother getSmoother(String type) {
		Smoother smoother;
		if(type.compareTo("window_vote") == 0) {
			smoother = new WindowVotingSmoother();
		} else {
			throw new RuntimeException();
		}
		
		return smoother;
	}
}
